﻿@{
    ViewData["Title"] = "Home Page";
}

    <div class="text-center">
        <h1 class="display-4">Welcome</h1>
        <h2>当前的学员们：</h2>
        @foreach (var user in base.ViewBag.Users)
        {
            <p>@user.Name</p>
            <p>@user.Role</p>
        }
        <p>Learn about <a href="https://docs.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
    </div>
